package com.ctshk.rpc.finance.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 挂账使用记录
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-03-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_finance_on_account_usage_record")
@ApiModel(value="FinanceOnAccountUsageRecord对象", description="挂账使用记录")
public class FinanceOnAccountUsageRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属挂账ID")
    private Long onAccountId;

    @ApiModelProperty(value = "业务类型")
    private Integer businessType;

    @ApiModelProperty(value = "收退款类型1 收款,2 退款")
    private Integer billType;

    @ApiModelProperty(value = "收款方式ID")
    private Long collectionWayId;

    @ApiModelProperty(value = "收款方式")
    private String collectionWayName;

    @ApiModelProperty(value = "收退款金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "币种ID")
    private Long currencyId;

    @ApiModelProperty(value = "币种名称")
    private String currencyName;

    @ApiModelProperty(value = "汇率")
    private Double exchangeRate;

    @ApiModelProperty(value = "收退款ID")
    private Long billId;

    @ApiModelProperty(value = "收退款单号")
    private String billNumber;

    @ApiModelProperty(value = "产品ID")
    private Long productId;

    @ApiModelProperty(value = "产品编号")
    private String productNumber;

    @ApiModelProperty(value = "产品ID")
    private Long saleOrderId;

    @ApiModelProperty(value = "团号")
    private String tripNumber;

    @ApiModelProperty(value = "资源信息")
    private String resourceInfo;

    @ApiModelProperty(value = "销售人员ID")
    private Long saleUserId;

    @ApiModelProperty(value = "销售人员名称")
    private String saleUserName;

    @ApiModelProperty(value = "创建人展示属性")
    private String createUser;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
